<admintpl file="headerEx" />
<title>{:L('ADMIN_BACKUP_INDEX')}</title>
<link href="__PUBLIC__/js/artDialog/skins/default.css" rel="stylesheet" />
<!--responsive table-->
<link href="__PUBLIC__/TciocEx/css/table-responsive.css" rel="stylesheet" />
</head>

<!-- Placed js at the end of the document so the pages load faster -->
<body class="sticky-header">
<section>
	<!-- main content start-->
	<div class="full-content" >
		<!--body wrapper start-->
		<div class="wrapper">
			<div class="row">
				<div class="col-sm-12">
					<section class="panel">
						<header class="panel-heading custom-tab turquoise-tab">
							<ul class="nav nav-tabs">
								<li class="active"><a href="{:U('Admin/backup/index')}"><i class="fa fa-list-ul"></i> {:L('ADMIN_BACKUP_INDEX')}</a></li>
							</ul>
						</header>
						<php> $status=array("1"=>L('DISPLAY'),"0"=>L('HIDDEN')); </php>
						<div class="panel-body">
							<section class="panel" >
								<form class="form-horizontal js-ajax-form form-horizontal " role="form" method="post" action="{:U('Admin/backup/index_post')}">

									<section id="no-more-tables">
										<table width="100%" cellspacing="0" class="table_form">
											<tr style="line-height: 50px">
												<td width="150" align="right">{:L('VOLUME_SIZE')}</td>
												<td>
													<input type="text"  class=" form-control"  style="width: 80%;display: inline-block;" name="sizelimit" value="{$sizelimit}" size="10"> K
													&nbsp;&nbsp;({:L('VOLUME_SIZE_HELP_TEXT')})
												</td>
											</tr>
											<tr style="line-height: 50px" >
												<td align="right">{:L('NAME')}</td>
												<td><input type="text" class=" form-control"  style="width: 80%;display: inline-block;"  name="backup_name" value="{$backup_name}"></td>
											</tr>
											<tr>
												<td align="right">{:L('BACKUP_TYPE')}</td>
												<td>
													&nbsp;<label><input type="radio" checked="checked" value="full" name="backup_type" onclick="javascript:$('#js-showtables').hide();"> {:L('BACKUP_ALL')} &nbsp;&nbsp;</label>
													<label><input type="radio" value="custom" name="backup_type" onclick="javascript:$('#js-showtables').show();"> {:L('CUSTOM_BACKUP')}</label>
												</td>
											</tr>
											<tr id="js-showtables">
												<td align="right">
													<label><input name="selectall" type="checkbox" checked="checked" value="" onclick="javascript:$('.js-checkitem').attr('checked', this.checked);" /> {:L('SELECT_ALL')}</label>
												</td>
												<td colspan="2">
													<volist name="tables" id="val">
														<label class="checkbox inline" style="width:200px;"><input name="backup_tables[{$val}]" type="checkbox" value="-1" checked="checked" class="js-checkitem" />&nbsp;&nbsp;{$val}</label>
													</volist>
												</td>
											</tr>
											<tr>
												<td></td>
												<td><input type="submit" name="dosubmit" value="{:L('START_BACKUP')}" class="btn btn-primary" style="margin-top: 10px;"></td>
											</tr>
										</table>
										</table>
									</section>
								</form>
							</section>
						</div>
					</section>
				</div>
			</div>
		</div>

	</div>
	</div>
	</div>
	<!--body wrapper end-->

	<!--footer section start-->
	<footer>
		<admintpl file="copyright" />
	</footer>
	<!--footer section end-->

	</div>
	<!-- main content end-->
</section>
<script src="__PUBLIC__/TciocEx/js/jquery-1.10.2.min.js"></script>
<script src="__PUBLIC__/js/wind.js"></script>
<script src="__PUBLIC__/js/common.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery-ui-1.9.2.custom.min.js"></script>
<script src="__PUBLIC__/simpleboot/bootstrap/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery-migrate-1.2.1.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/modernizr.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery.nicescroll.js"></script>
<script src="__PUBLIC__/js/ajaxForm.js"></script>

<script type="text/javascript" src="__PUBLIC__/TciocEx/js/jquery.validate.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/validation-localization/messages_zh.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/scripts.js"></script>
<script src="__PUBLIC__/TciocEx/js/validation-init.js"></script>
<style type="text/css">
	#js-showtables{display:none;}
	.checkbox.inline{
		margin-left: 10px;
	}
</style>
</body>
</html>